package com.nf.ch03.test05.homework;

/**
 * @author lwj
 * @date 2025-03-03
 * @vesion 1.0.0
 */
public class AnimalTest {
    public static void main(String[] args) {
        Hunter hunter = new Hunter("龚靖皓");

        Rabbit rabbit = new Rabbit("兔子");
        Bird bird = new Bird("燕子");

        hunter.goHunting(rabbit);
        hunter.goHunting(bird);
    }
}
